package com.codingapi.websocket.demo.entity;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * @author modificial
 * @date 2018/8/9
 * @company codingApi
 * @description
 */
public class Message implements Serializable {
    /**
     * 商家id
     */
    private String id;
    /**
     * 类型
     */
    private String data;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
    @Override
    public String toString() {
        return "Message{" +
                "id='" + id + '\'' +
                ", data='" + data + '\'' +
                '}';
    }
}
